package com.roadmap.util.chart;

import java.io.IOException;

import javax.servlet.http.HttpSession;

import org.jfree.data.general.Dataset;

public interface IDataChart {
	/**
	 * convert the given data set to a png.
	 * 
	 * @return: the name of picture
	 * @throws IOException
	 * 
	 */
	public String convertDataSetToPNG(String title, Dataset dataset, int width,
			int height, HttpSession session) throws IOException;

	/** it's for testing */
	public Dataset getTestData();
	
}
